package xxdd;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import java.awt.GridLayout;
import javax.swing.event.AncestorListener;
import javax.swing.event.AncestorEvent;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.Color;
import java.awt.Component;
import javax.swing.Box;
import java.awt.Font;
import javax.swing.BoxLayout;

public class xunlian extends JFrame {

	private JPanel contentPane;
	/**
	 * @wbp.nonvisual location=-29,187
	 */
	private final Component horizontalStrut = Box.createHorizontalStrut(20);

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					xunlian frame = new xunlian();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public xunlian() {
		setTitle("\u7528\u6237\u767B\u5F55\u9875\u9762");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 522, 297);
		contentPane = new JPanel();
		contentPane.setBackground(Color.ORANGE);
		contentPane.setForeground(Color.BLACK);
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(new BorderLayout(0, 0));
		
		JLabel label = new JLabel("\u767B\u9646\u7CFB\u7EDF");
		contentPane.add(label, BorderLayout.NORTH);
		
		JLabel label_1 = new JLabel("\u9000\u51FA\u767B\u5F55\u7CFB\u7EDF");
		contentPane.add(label_1, BorderLayout.SOUTH);
		
		JLabel label_2 = new JLabel("\u4F60\u9700\u8981\u7684\u4FE1\u606F");
		contentPane.add(label_2, BorderLayout.WEST);
		
		JLabel label_3 = new JLabel("\u5907\u6CE8");
		contentPane.add(label_3, BorderLayout.EAST);
	}
}
